package com.lc.mapper;

import com.lc.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderMapper {
    List<Order> queryOrderList();

    Order queryOrderByNum(String order_number);

    int addOrder(Order order);

    int updateOrder(Order order);

    int deleteOrderByNum(String order_number);
}
